package dl.bukkit.myststus.api.event;

import org.bukkit.command.CommandSender;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public class ReloadEvent extends Event {
    private static final HandlerList handlerList = new HandlerList();

    private final CommandSender sender;

    public ReloadEvent(CommandSender player) {
        this.sender = player;
    }

    public CommandSender getSender() {
        return sender;
    }

    public static HandlerList getHandlerList() {
        return handlerList;
    }

    @Override
    public HandlerList getHandlers() {
        return handlerList;
    }
}
